package com.zpark.resume.mapper;

import com.zpark.resume.entity.Education;
import com.zpark.resume.entity.Project;
import com.zpark.resume.entity.Training;

import java.util.List;

/**
 * @PackageName: com.zpark.resume.mapper
 * @ClassName: ITrainingMapper
 * @Description:
 * @author: RZS
 * @date: 2023/6/1  9:12
 */
public interface ITrainingMapper {

    // 根据cv_id查询Training
    List<Training> selectByCvId(Integer cvId);

    // 添加培训经历
    Integer insertTraining(Training training);

    // 修改培训经历
    Integer updateTrainingById(Training training);

    // 删除培训经历
    Integer deleteTrainingById(Integer id);
}
